package com.bole.feign.reception;


import com.bole.dto.car.TbCarDto;
import com.bole.dto.content.TbContentDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "BOLECAR-RECEPTION-SERVICE")
public interface ContentFeign {
    //查询轮播图
    @PostMapping("/content/selectRotation")
    List<TbContentDto> selectRotation(@RequestParam Long contentTypeId);

    //千人千面
    @PostMapping("/content/selectIntelligence")
    List<TbCarDto> selectIntelligence(@RequestParam("userId") Long userId);
}
